package com.dc.chat.websocket.event;

import lombok.Data;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;
@Getter
public class LoginEvent extends ApplicationEvent {
    private String username;
    public LoginEvent(Object source,String username){
        super(source);
        this.username=username;
    }
}
